home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / ADA / GNAT / !gcc / gnat / debug-info < prev    next >
Text File  |  1996-11-23  |  11KB  |  280 lines

  1.    ---------------------------------
  2.    -- Summary of Debug Flag Usage --
  3.    ---------------------------------
  4.  
  5.    --  Debug flags for compiler (GNAT1 and GNATF)
  6.  
  7.    --  da   Generate messages tracking semantic analyzer progress
  8.    --  db
  9.    --  dc   List names of units as they are compiled
  10.    --  dd   Dynamic allocation of tables messages generated
  11.    --  de   List the entity table
  12.    --  df   Full tree/source print (includes withed units)
  13.    --  dg   Print source from tree (generated code only)
  14.    --  dh   Generate listing showing loading of name table hash chains
  15.    --  di   Generate messages for visibility linking/delinking
  16.    --  dj   Juxtapose itype declarations in listed source
  17.    --  dk   Generate GNATBUG message on abort, even if previous errors
  18.    --  dl   Generate unit load trace messages
  19.    --  dm
  20.    --  dn   Generate messages for node/list allocation
  21.    --  do   Print source from tree (original code only)
  22.    --  dp   Generate messages for parser scope stack push/pops
  23.    --  dq
  24.    --  dr   Generate parser resynchronization messages
  25.    --  ds   Print source from tree (including original and generated stuff)
  26.    --  dt   Print full tree
  27.    --  du   Uncheck distribution pragmas
  28.    --  dv   Output trace of overload resolution
  29.    --  dw   Print trace of semantic scope stack
  30.    --  dx   Force expansion on, even if no code being generated
  31.    --  dy   Print tree of package Standard
  32.    --  dz   Print source of package Standard
  33.  
  34.    --  d1   Error msgs have node numbers where possible
  35.    --  d2   Eliminate error flags in verbose form error messages
  36.    --  d3   Dump bad node in Comperr on an abort
  37.    --  d4   Inhibit automatic krunch of predefined library unit files
  38.    --  d5   Debug output for tree read/write
  39.    --  d6   Default access unconstrained to thin pointers
  40.    --  d7
  41.    --  d8
  42.    --  d9
  43.  
  44.    --  Debug flags for binder (GNATBIND)
  45.  
  46.    --  da
  47.    --  db
  48.    --  dc  List units as they are chosen
  49.    --  dd
  50.    --  de
  51.    --  df
  52.    --  dg
  53.    --  dh
  54.    --  di
  55.    --  dj
  56.    --  dk
  57.    --  dl
  58.    --  dm
  59.    --  dn  List details of manipulation of Num_Pred values
  60.    --  do
  61.    --  dp
  62.    --  dq
  63.    --  dr
  64.    --  ds
  65.    --  dt
  66.    --  du
  67.    --  dv
  68.    --  dw
  69.    --  dx
  70.    --  dy
  71.    --  dz
  72.  
  73.    --  d1
  74.    --  d2
  75.    --  d3
  76.    --  d4
  77.    --  d5
  78.    --  d6
  79.    --  d7
  80.    --  d8
  81.    --  d9
  82.  
  83.    --  Debug flags used in package Make and its clients (e.g. GNATMAKE)
  84.  
  85.    --  da
  86.    --  db
  87.    --  dc
  88.    --  dd
  89.    --  de
  90.    --  df
  91.    --  dg
  92.    --  dh
  93.    --  di
  94.    --  dj
  95.    --  dk
  96.    --  dl
  97.    --  dm
  98.    --  dn
  99.    --  do
  100.    --  dp  Prints the contents of the Q used by Make.Compile_Sources
  101.    --  dq  Prints source files as they are enqueued and dequeued
  102.    --  dr
  103.    --  ds
  104.    --  dt
  105.    --  du
  106.    --  dv
  107.    --  dw  Prints the list of units withed by the unit currently explored
  108.    --  dx
  109.    --  dy
  110.    --  dz
  111.  
  112.    --  d1
  113.    --  d2
  114.    --  d3
  115.    --  d4
  116.    --  d5
  117.    --  d6
  118.    --  d7
  119.    --  d8
  120.    --  d9
  121.  
  122.    --------------------------------------------
  123.    -- Documentation for Compiler Debug Flags --
  124.    --------------------------------------------
  125.  
  126.    --  da   Generate messages tracking semantic analyzer progress. A message
  127.    --       is output showing each node as it gets analyzed, expanded,
  128.    --       resolved, or evaluated. This option is useful for finding out
  129.    --       exactly where a bomb during semantic analysis is occurring.
  130.  
  131.    --  dc   List names of units as they are compiled. One line of output will
  132.    --       be generated at the start of compiling each unit (package or
  133.    --       subprogram).
  134.  
  135.    --  dd   Dynamic allocation of tables messages generated. Each time a
  136.    --       table is reallocated, a line is output indicating the expansion.
  137.  
  138.    --  de   List the entity table
  139.  
  140.    --  df   Full tree/source print (includes withed units). Normally the tree
  141.    --       output (dt) or recreated source output (dg,do,ds) includes only
  142.    --       the main unit. If df is set, then the output in either case
  143.    --       includes all compiled units (see also dg,do,ds,dt). Note that to
  144.    --       be effective, this swich must be used in combination with one or
  145.    --       more of dt, dg, do or ds.
  146.  
  147.    --  dg   Print the source recreated from the generated tree. In the case
  148.    --       where the tree has been rewritten this output includes only the
  149.    --       generated code, not the original code (see also df,do,ds,dz).
  150.  
  151.    --  dh   Generates a table at the end of a compilation showing how the hash
  152.    --       table chains built by the Namet package are loaded. This is useful
  153.    --       in ensuring that the hashing algorithm (in Namet.Hash) is working
  154.    --       effectively with typical sets of program identifiers.
  155.  
  156.    --  di   Generate messages for visibility linking/delinking
  157.  
  158.    --  dj   Normally the generated source listing does not include itypes,
  159.    --       since they greatly confuse the listing. This debug switch causes
  160.    --       the itypes to be listed right next ("juxtaposed") to the construct
  161.    --       to which the itype is attached.
  162.  
  163.    --  dk   Immediate kill on abort. Normally on an abort (i.e. a call to
  164.    --       Comperr.Compiler_Abort), the GNATBUG message is not given if
  165.    --       there is a previous error. This debug switch bypasses this test
  166.    --       and gives the message unconditionally (useful for debugging).
  167.  
  168.    --  dl   Generate unit load trace messages. A line of traceback output is
  169.    --       generated each time a request is made to the library manager to
  170.    --       load a new unit.
  171.  
  172.    --  dn   Generate messages for node/list allocation. Each time a node or
  173.    --       list header is allocated, a line of output is generated. Certain
  174.    --       other basic tree operations also cause a line of output to be
  175.    --       generated. This option is useful in seeing where the parser is
  176.    --       blowing up.;
  177.  
  178.    --  do   Print the source recreated from the generated tree. In the case
  179.    --       where the tree has been rewritten, this output includes only the
  180.    --       original code, not the generated code (see also df,dg,ds,dz).
  181.  
  182.    --  dp   Generate messages for parser scope stack push/pops. A line of
  183.    --       output by the parser each time the parser scope stack is either
  184.    --       pushed or popped. Useful in debugging situations where the
  185.    --       parser scope stack ends up incorrectly synchronized
  186.  
  187.    --  dr   Generate parser resynchronization messages. Normally the parser
  188.    --       resynchronizes quietly. With this debug option, two messages
  189.    --       are generated, one when the parser starts a resynchronization
  190.    --       skip, and another when it resumes parsing. Useful in debugging
  191.    --       inadequate error recovery situations.
  192.  
  193.    --  ds   Print the source recreated from the generated tree. In the case
  194.    --       where the tree has been rewritten this output includes both the
  195.    --       generated code and the original code with the generated code
  196.    --       being enlosed in curly brackets (see also df,do,ds,dz)
  197.  
  198.    --  dt   Print full tree. The generated tree is output (see also df,dy)
  199.  
  200.    --  du   Uncheck categorization pragmas. This debug switch causes the
  201.    --       categorization pragmas (Pure, Preelaborate etc) to be ignored
  202.    --       so that normal checks are not made (this is particularly useful
  203.    --       for adding temporary debugging code to units that have pragmas
  204.    --       that are inconsistent with the debugging code added.
  205.  
  206.    --  dw   Write semantic scope stack messages. Each time a scope is created
  207.    --       or removed, a message is output (see the Sem_Ch8.New_Scope and
  208.    --       Sem_Ch8.Pop_Scope subprograms).
  209.  
  210.    --  dx   Force expansion on, even if no code being generated. Normally the
  211.    --       expander is inhibited if no code is generated. This switch forces
  212.    --       expansion to proceed normally even if the backend is not being
  213.    --       called. This is particularly useful for debugging purposes when
  214.    --       using the front-end only version of the compiler (which normally
  215.    --       would never do any expansion).
  216.  
  217.    --  dy   Print tree of package Standard. Normally the tree print out does
  218.    --       not include package Standard, even if the -df switch is set. This
  219.    --       switch forces output of the internal tree built for Standard.
  220.  
  221.    --  dz   Print source of package Standard. Normally the source print out
  222.    --       does not include package Standard, even if the -df switch is set.
  223.    --       This switch forces output of the source recreated from the internal
  224.    --       tree built for Standard.
  225.  
  226.    --  d1   Error msgs have node numbers where possible. Normally error
  227.    --       messages have only source locations. This option is useful when
  228.    --       debugging errors caused by expanded code, where the source location
  229.    --       does not give enough information.
  230.  
  231.    --  d2   Suppress output of the error position flags for verbose form error
  232.    --       messages. The messages are still interspersed in the listing, but
  233.    --       without any error flags or extra blank lines. Also causes an extra
  234.    --       <<< to be output at the right margin. This is intended to be the
  235.    --       easiest format for checking conformance of ACVC B tests.
  236.  
  237.    --  d3   Causes Comperr to dump the contents of the node for which an abort
  238.    --       was detected (normally only the Node_Id of the node is output).
  239.  
  240.    --  d4   Inhibits automatic krunching of predefined library unit file names.
  241.    --       Normally, as described in the spec of package Krunch, such files
  242.    --       are automatically krunched to 8 characters, with special treatment
  243.    --       of the prefixes Ada, System, and Interfaces. Setting this debug
  244.    --       switch disables this special treatment.
  245.  
  246.    --  d6   Normally access-to-unconstrained-array types are represented
  247.    --       using fat (double) pointers. Using this debug flag causes them
  248.    --       to default to thin. This can be used to test the performance
  249.    --       implications of using thin pointers, and also to test that the
  250.    --       compiler functions correctly with this choice.
  251.  
  252.    ------------------------------------------
  253.    -- Documentation for Binder Debug Flags --
  254.    ------------------------------------------
  255.  
  256.    --  dc  List units as they are chosen. As units are selected for addition to
  257.    --      the elaboration order, a line of output is generated showing which
  258.    --      unit has been selected.
  259.  
  260.    --  dn  List details of manipulation of Num_Pred values during execution of
  261.    --      the algorithm used to determine a correct order of elaboration. This
  262.    --      is useful in diagnosing any problems in its behavior.
  263.  
  264.    ------------------------------------------------------------
  265.    -- Documentation for the Debug Flags used in package Make --
  266.    ------------------------------------------------------------
  267.  
  268.    --  Please note that such flags apply to all of Make clients,
  269.    --  such as gnatmake.
  270.  
  271.    --  dp  Prints the Q used by routine Make.Compile_Sources every time
  272.    --      we go around the main compile loop of Make.Compile_Sources
  273.  
  274.    --  dq  Prints source files as they are enqueued and dequeued in the Q
  275.    --      used by routine Make.Compile_Sources. Useful to figure out the
  276.    --      order in which sources are recompiled.
  277.  
  278.    --  dw  Prints the list of units withed by the unit currently explored
  279.    --      during the main loop of Make.Compile_Sources.
  280.